Tables [dbo].[NotePurposeRef]
Properties
PropertyValue
Created10:31:29 AM Tuesday, March 02, 2010
Last Modified11:40:04 AM Monday, February 20, 2012
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key PK_NotePurposeRef: NotePurposeKeyNotePurposeKeyuniqueidentifier16
No
Indexes AK_NotePurposeRef_NotePurposeDesc: NotePurposeDescNotePurposeDescnvarchar(30)60
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_NotePurposeRef: NotePurposeKeyPK_NotePurposeRefNotePurposeKey
Yes
AK_NotePurposeRef_NotePurposeDescNotePurposeDesc
Yes
SQL Script
CREATE TABLE [dbo].[NotePurposeRef]
(
[NotePurposeKey] [uniqueidentifier] NOT NULL,
[NotePurposeDesc] [nvarchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[NotePurposeRef] ADD CONSTRAINT [PK_NotePurposeRef] PRIMARY KEY CLUSTERED ([NotePurposeKey]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[NotePurposeRef] ADD CONSTRAINT [AK_NotePurposeRef_NotePurposeDesc] UNIQUE NONCLUSTERED ([NotePurposeDesc]) ON [PRIMARY]
GO
Uses
Used By